package com.youlu.campus.admin.course.service;

import com.youlu.campus.admin.course.dto.ActivityCourseBindDTO;
import com.youlu.campus.admin.course.dto.ActivityCourseSaveDTO;
import com.youlu.campus.admin.course.dto.ActivityCourseSearchDTO;
import com.youlu.campus.entity.course.ActivityCourse;
import org.springframework.data.domain.Page;

/**
 * @author : [dengbo]
 * @className : ActivityCourseService
 * @description : [活动课程service]
 * @createTime : [2022/5/16 15:32]
 */
public interface ActivityCourseService {
    /**
     * 课程保存
     *
     * @param saveDTO
     * @return
     */
    boolean save(ActivityCourseSaveDTO saveDTO);

    /**
     * 课程查询
     *
     * @param saveDTO
     * @return
     */
    Page<ActivityCourse> list(ActivityCourseSearchDTO saveDTO);

    /**
     * 活动课程绑定
     *
     * @param saveDTO
     * @return
     */
    boolean bind(ActivityCourseBindDTO saveDTO);
}
